package mn.more.wits.client.exception;

/**
 * capturing the event that an authenticated user is attempting to login again without ending current session.
 * <p/>
 * as per requirement, each user can only login as one specific user at one time (yes, one could use multiple browser
 * instances... blah blah blah).  So log in again, he/she must first log out from the current session.
 *
 * @author <a href="mailto:mike.liu@aptechmongolia.edu.mn">Mike Liu</a>
 * @version $Revision: 119 $
 */
public class AlreadyLoggedInException extends WitsSecurityException {

	public AlreadyLoggedInException() { }

	public AlreadyLoggedInException(String message) { super(message); }

	public AlreadyLoggedInException(String message, Throwable cause) { super(message, cause); }

	public AlreadyLoggedInException(Throwable cause) { super(cause); }

	public int getErrorCode() { return ERROR_ALREADY_LOGGED_IN; }

}
